package com.qinghe.pro.mapper.article;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.qinghe.pro.entity.article.Article;

public interface ArticleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Article record);

    int insertSelective(Article record);

    Article selectByPrimaryKey(Integer id);

    Article selectById(Integer id);

    List<Article> selectByColumnId(@Param("id") Integer columnId);

    List<Article> selectByType(@Param("type") Integer type, @Param("size") Integer size);

    List<Article> selectAll(Article record);

    int updateByPrimaryKeySelective(Article record);

    int updateByPrimaryKeyWithBLOBs(Article record);

    int updateByPrimaryKey(Article record);
}